package com.star.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Star
 * @since 2021-04-21
 */
@TableName("tb_shop_menu")
@Data
public class ShopMenu extends Model<ShopMenu> {

    private static final long serialVersionUID = 1L;

    /**
     * 商铺菜品编号
     */
    @TableId(value = "sm_id", type = IdType.AUTO)
    private Integer smId;
    /**
     * 店铺编号
     */
    private Integer shopId;
    /**
     * 菜品编号
     */
    private Integer menuId;
    /**
     * 菜品描述
     */
    private String smDesc;
    /**
     * 菜品价格
     */
    private Double smPrice;
    /**
     * 菜品折扣
     */
    private Double smDiscount;
    /**
     * 订购数量
     */
    private Integer smOrderQuantity;
    /**
     * 菜品图片
     */
    private String smImgUrl;
    /**
     * 菜品表 本店铺对应的菜品表
     */
    private Menu menu;

}
